package com.tju.Util;

/**
 * Created by search on 2016/11/14.
 */

import com.alibaba.fastjson.JSONObject;
import com.alibaba.fastjson.TypeReference;
import lombok.Data;
import lombok.ToString;
import lombok.extern.slf4j.Slf4j;
import org.apache.commons.collections.CollectionUtils;
import org.apache.commons.collections.map.HashedMap;
import org.apache.commons.lang.StringUtils;

import javax.servlet.http.HttpServletRequest;
import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
import java.util.Map;

@Data
@Slf4j
@ToString
public class DataTablePageUtil {

    private int draw; // 第几次请求
    private int start = Constants.IDISPLAYSTART;// 起止位置'0'
    private int length = Constants.DISPLAYLENGTH; // 数据长度'10'
    private String searchData;
    private String queryType;
    private String periodType;
    private Date startTime = null;
    private Date endTime = null;

    private Map<String, String> condition = new HashedMap();
    private List<String> conditionList = new ArrayList<String>();

    public DataTablePageUtil() {

    }

}

